﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EasyBuildingCMS.Base
{
    public class EditablePage: BasePage
    {
        public string PageMode
        {
            get
            {

                if (!HasEditRight)
                    return "View";
                else
                    return BLL.Globals.Mode;

            }

            set 
            {
                BLL.Globals.Mode = value;
            }
        }
    }
}